package environment;

import java.awt.Color;

import javax.swing.JPanel;
import javax.swing.border.LineBorder;

public class Cell extends JPanel {

	private int row;
	private int column;

	public Cell(int row, int column, Color color) {

		this.row = row;
		this.column = column;

		setBorder(new LineBorder(Color.lightGray, 1));
		setBackground(color);
	}

	public int getRow() {
		return this.row;
	}

	public void setRow(int row) {
		this.row = row;
	}

	public int getColumn() {
		return this.column;
	}

	public void setGridColumn(int column) {
		this.column = column;
	}
}
